I know what is used in the drupal module to indicate that only anonymous users can see this module. What will be the callback that indicates only registered users?
I have a page in which I want only login access.
thank
This is the user_is_logged_in () function , which basically checks that the user ID ($ GLOBALS ['user'] → uid) is greater than zero.
uid TRUE , , uid, . Drupal uid 0, FALSE .
Source: https://habr.com/ru/post/1749879/More articles:! (ReferenceEquals ()) vs! = In Entity Framework 4 - c #How do I get less than javascript for loop in XSL to work? - javascriptxslt, javascript и unescaped html-объекты - javascriptProblem executing commands in cmd using C # - c #XSLT disable-output-escaping not supporting two diff servers - javascriptHow to change file contents in PHP? - fileSilverlight 4: How to trigger an animation when TextBlocks Text changes during a DataBinding? - data-binding"getaddrinfo: Temporary glitch in name resolution" in RoR application - ruby-on-railsHow to deal with a memory error? - androidХороший ли файл для межпроцессного общения - .netAll Articles